﻿@{
    ShareDisplayType ShareToThirdDisplayType = ViewData.Get<ShareDisplayType>("ShareToThirdDisplayType", ShareDisplayType.Word);
    ShareDisplayIconSize ShareDisplayIconSize = ViewData.Get<ShareDisplayIconSize>("ShareDisplayIconSize", ShareDisplayIconSize.middle);
}
@switch (ShareToThirdDisplayType)
{
    case ShareDisplayType.Word:
        <div class="jiathis_style">
            <span class="jiathis_txt">分享到：</span> 
            <a class="jiathis_button_tools_1"></a>
            <a class="jiathis_button_tools_2"></a>
            <a class="jiathis_button_tools_3"></a>
            <a class="jiathis_button_tools_4"></a>
            <a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jiathis_separator jtico jtico_jiathis"target="_blank">更多</a>
        </div>
        <script type="text/javascript" src="http://v3.jiathis.com/code/jia.js" charset="utf-8"></script>
        break;
    case ShareDisplayType.Icon:
        switch (ShareDisplayIconSize)
        {
            case ShareDisplayIconSize.Big:
                @Html.Raw("<div class='jiathis_style_32x32'>");
                                                              break;
            case ShareDisplayIconSize.middle:
                @Html.Raw("<div class='jiathis_style_24x24'>");
                                                              break;
            case ShareDisplayIconSize.small:
                @Html.Raw("<div class='jiathis_style'>");
                                                        break;
        }
        <a class="jiathis_button_qzone"></a>
        <a class="jiathis_button_tsina"></a>
        <a class="jiathis_button_tqq"></a>
        <a class="jiathis_button_renren"></a>
        <a class="jiathis_button_kaixin001"></a>
        <a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
        @Html.Raw("</div>");
        <script type="text/javascript" src="http://v3.jiathis.com/code/jia.js" charset="utf-8"></script>
                           break;
    case ShareDisplayType.Sidebar:
        <!-- JiaThis Button BEGIN -->
        <script type="text/javascript" src="http://v3.jiathis.com/code/jiathis_r.js?uid=1361262430445245" charset="utf-8"></script>
        <!-- JiaThis Button END -->
        break;
}


